import React from 'react';
import PropTypes from 'prop-types';

import './footer.css'

import { Layout } from 'antd';
const { Footer } = Layout;

const defaultProps = {
    userid: 123456
}

class PCFooter extends React.Component {
    constructor() {
        super();
        this.state = {
            
        }
    }

    render() {
        return(
            <Footer className="footer">
                <p>版权信息</p> 
                {this.props.userid}               
            </Footer>
        )
    }

}

PCFooter.propTypes = {
    userid: PropTypes.number
}

PCFooter.defaultProps = defaultProps ;

export default PCFooter;